//
//  UIImageView+MLWebCache.m
//  BrowsePictureDemo
//
//  Created by GZMLUser on 14-11-13.
//  Copyright (c) 2014年 GZMLUser. All rights reserved.
//

#import "UIImageView+MLWebCache.h"

@implementation UIImageView (MLWebCache)
- (void)setImageURL:(NSURL *)url placeholder:(UIImage *)placeholder
{
    [self sd_setImageWithURL:url placeholderImage:placeholder options:SDWebImageRetryFailed | SDWebImageLowPriority];
    
}

- (void)setImageURLStr:(NSString *)urlStr placeholder:(UIImage *)placeholder
{
    [self setImageURL:[NSURL URLWithString:urlStr] placeholder:placeholder];
}

@end
